package  
{
	/**
	 * ...
	 * @author patsup
	 * 
	 * 		Data structure used in MenuButton to store how to "draw" it, or hopefully
	 * how to handle the displaying of it in any way.  It has a few default values.
	 * 
	 */
	public class ImageData 
	{
		private const DEFAULT_BTN_COLOR:int = 0xFF8040;
		private const DEFAULT_BTN_WIDTH:int = 120;
		private const DEFAULT_BTN_HEIGHT:int = 40;
		
		private var menuButtonColor:int;
		private var menuButtonWidth:int;
		private var menuButtonHeight:int;
		private var menuButtonText:String;
		private var menuButtonXCoord:int;
		private var menuButtonYCoord:int;
		private var menuButtonType:String;
		private var menuButtonAlpha:Number;
		
		public function ImageData(_x:int, _y:int, txt:String, color:int = DEFAULT_BTN_COLOR, 
								width:int = DEFAULT_BTN_WIDTH, height:int = DEFAULT_BTN_HEIGHT, alpha:Number = 1, type:String = "Rect") 
		{
			menuButtonColor = color;
			menuButtonWidth = width;
			menuButtonHeight = height;
			menuButtonText = txt;
			menuButtonXCoord = _x;
			menuButtonYCoord = _y;
			menuButtonType = type;
			menuButtonAlpha = alpha;
		}
		public function GetColor():int { return menuButtonColor; }
		public function GetWidth():int { return menuButtonWidth; }
		public function GetHeight():int { return menuButtonHeight; }
		public function GetText():String { return menuButtonText; }
		public function GetX():int { return menuButtonXCoord; }
		public function GetY():int { return menuButtonYCoord; }
		public function GetType():String { return menuButtonType; }
		public function GetAlpha():Number { return menuButtonAlpha; }
		
		
	}

}